package com.ruangong.GitClient.app.TravelExpense;

import java.io.Serializable;

public class Expense implements Serializable {
    private int id;
    private int eventId;
    private String name;
    private double amount;
    private String description;

    // Constructor
    public Expense(int id, int eventId, String name, double amount) {
        this.id = id;
        this.eventId = eventId;
        this.name = name;
        this.amount = amount;
    }


    // Getter and setter methods for id
    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    // Getter and setter methods for eventId
    public int getEventId() {
        return eventId;
    }

    public void setEventId(int eventId) {
        this.eventId = eventId;
    }

    // Getter and setter for name
    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    // Getter and setter for amount
    public double getAmount() {
        return amount;
    }

    public void setAmount(double amount) {
        this.amount = amount;
    }

    // Getter and setter for description
    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }
}


